function main(params){
    debugger
    const countryValue = self.$$("text_input_6iltos").cValue;
    const provinceValue = self.$$("text_input_e7ln66").cValue;
    const cityValue = self.$$("text_input_1x0udy").cValue;
    const districtValue = self.$$("text_input_55q4pw").cValue;
    const streetValue = self.$$("text_input_dd3dav").cValue;
    const communityValue = self.$$("text_input_ayzvd0").cValue;
    let pageTableList = self.$$("page_widget_list_6ndvbc");
    let result = {
        type:2,
        punishDecideTypeCodes:params.num,
        countryId: countryValue,
        provinceId: provinceValue,
        cityId: cityValue,
        districtId: districtValue,
        streetId: streetValue,
        community: communityValue
    };
    filterList(pageTableList, result)
}

function filterList(pageTableList, result) {

    if (pageTableList.dataEngine && pageTableList.dataEngine.state) {
        // 给列表组件设置参数，参数名meter_id为要过滤列表中的列名，后面为参数值，取自树节点参数
        pageTableList.$children[0].$$setExtraParams({
            ruleId: result.ruleId,
            countryId: result.countryId,
            provinceId: result.provinceId,
            cityId: result.cityId,
            districtId: result.districtId,
            streetId: result.streetId,
            communityId: result.community,
            bizId: result.bizId
        })
        // 找到列表部件中的表格组件元素
        let tableComp = pageTableList.dataEngine.state.getElement("table_ycrya");
        if (tableComp) {
            //执行列表刷新
            tableComp.$$refreshData();
        }
    }
}
